package com.leo.dao;

import com.leo.pojo.User;

import java.util.List;

public interface IUserDao {

    List<User> selectList() throws Exception;

    User selectOne(User user) throws Exception;

    User selectByMultiParam(int id, String username) throws Exception;

    int insert(User user);

    int update(User user);

    int delete(int id);
}
